package io.osw.modules.approve.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import io.osw.common.utils.PageUtils;
import io.osw.common.utils.Query;

import io.osw.modules.approve.dao.TblApproveFlowStatusDao;
import io.osw.modules.approve.entity.TblApproveFlowStatusEntity;
import io.osw.modules.approve.service.TblApproveFlowStatusService;


@Service("tblApproveFlowStatusService")
public class TblApproveFlowStatusServiceImpl extends ServiceImpl<TblApproveFlowStatusDao, TblApproveFlowStatusEntity> implements TblApproveFlowStatusService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        Page<TblApproveFlowStatusEntity> page = this.selectPage(
                new Query<TblApproveFlowStatusEntity>(params).getPage(),
                new EntityWrapper<TblApproveFlowStatusEntity>()
        );

        return new PageUtils(page);
    }

}
